export  const getAppointmentStatus=(value:any)=>{
    if (value === 1) {
        return "预约中"
    } else if (value === 2) {
        return "进行中"
    } else if (value === 3) {
        return "待回访"
    }else if(value===4){
        return "已完成"
    }else if(value===5){
        return "已取消"
    }
}

export const getAppointmentStatusColor =(value:any)=>{
    if (value === 1) {
        return "#00ffd1"
    } else if (value === 2) {
        return "#0021ff"
    } else if (value === 3) {
        return "#ffc600"
    }else if(value===4){
        return "#39ff00"
    }else if(value===5){
        return "#ff003d"
    }
}
// export const getAppointmentStatusColor =(value:any)=>{
//     if (value === 1) {
//         return "#95e1d3"
//     } else if (value === 2) {
//         return "#95e1d3"
//     } else if (value === 3) {
//         return "#fce38a"
//     }else if(value===4){
//         return "#f38181"
//     }else if(value===5){
//         return "#ff2e63"
//     }
// }
export const getAppointmentType = (value: any) => {
    if (value === 1) {
        return "维护"
    } else if (value === 2) {
        return "置管"
    } else if (value === 3) {
        return "拔管"
    }
}
export const getAppointmentTypeColor=(value:any)=>{
    if (value === 1) {
        return "#aa96da"
    } else if (value === 2) {
        return "#f08a5d"
    } else if (value === 3) {
        return "#b83b5e"
    }
}
export const getArticleStatus=(value:any)=>{
    if (value === 0) {
        return "编辑中"
    } else if (value === 1) {
        return "审核中"
    } else if (value ===2) {
        return "已发布"
    }else if(value===3){
        return "未通过"
    }
}
export const getArticleStatusColor=(value:any)=>{
    if (value === 0) {
        return "#aa96da"
    } else if (value === 1) {
        return "#f08a5d"
    } else if (value ===2) {
        return "#39ff00"
    }else if(value===3){
        return "#b83b5e"
    }
}

